package kn.mx.cstf2.actions;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;


import com.mx.kn.cstf2.actions.padre.Transition;
import com.mx.kn.cstf2.dto.CatalogoBranchDto;
import com.mx.kn.cstf2.service.TransitionService;

public class CommonActions {

	@Autowired
	static TransitionService transitionService;
	
	 public static ArrayList<String> getStatusList(String statusSelected){
		 ArrayList<String> statusList = new ArrayList<String>();
	    	statusList.add("On Hold");
	        statusList.add("On Going");
	        statusList.add("Canceled");
//	        statusList.add("Closed");
	        statusList.add("Completed");
	        if(statusSelected != null)
	        	statusList.remove(statusSelected.trim());
	        return statusList;
	    }
	 
	 
	 
}
